/**
 * GoodsDownloadCenter 业务逻辑类
 * @author WangXinLei
 * @date 2015-01-28
 */
package com.chnbst.bstyun.service;

import java.util.List;

import com.chnbst.bstyun.model.pojo.GoodsDownloadCenter;

public interface GoodsDownloadCenterService {

	/**
	 * 查询所有列表
	 */
	List<GoodsDownloadCenter> selectGrid(); 
	
	/**
	 * 查询某下载产品的下载信息
	 */
	List<GoodsDownloadCenter> selectGridByDownloadId(String goodsDownloadId);
	
	/**
	 * 查询 单条数据的信息
	 * @param goodsDownloadId
	 * @return VO
	 */
	GoodsDownloadCenter selectById(String downloadCenterId);

	/**
	 * 新增
	 * @return 添加成功返回true 失败返回false
	 */
	boolean insertGoodsDownloadCenter(GoodsDownloadCenter goodsDownloadCenter);
	
	/**
	 * 删除
	 * @return 修改成功返回true 失败返回false
	 */
	boolean deleteById(String downloadCenterId);
}
